<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
     <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
     <%@ page language="java" errorPage="/html/erro.jsp" %>
<%
String path=request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Sistema Gerenciador de Atendimento</title>

<link href="<%=path%>/css/style.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/menu.css"  rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/botao.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="<%=path%>/js/jquery.js"></script>
	<script type="text/javascript" src="<%=path%>/js/menu.js"></script>
	<script type="text/javascript" src="<%=path%>/js/funcoes.js"></script>

</head>

<body onload="getfocus('login');" ondblclick="descanso();" >




<div id="tudo">
  <div id="logo"></div>
    <div id="menufixo">    
		<div id="menu">
			</div>
  </div>
  


  <div class="conteudo">
  


<c:if test="${mensagem!=null}">
<p style="color:red;text-align: center;">${mensagem}</p>
<%session.removeAttribute("mensagem");
%>
</c:if>
<p>
<c:if test="${session_usuario!=null}">
<c:redirect url="/html/home.jsp"></c:redirect>
</c:if>
<c:if test="${session_usuario==null}">

<form action="<%=path%>/Servlet" method="post">
    <input type="hidden" name="acao" value="entrar"/> 
	<input type="hidden" name="classe" value="LoginControl"/>
<!-- 	<input type="hidden" name="acao" value="LoginControl.entrar"/>  -->
	<input type="hidden" name="destino" value="/html/home.jsp"/>
	

 
<table id="table-login" align="center">
<tr><td align="center" ><img src="<%=path %>/img/user.png" ondblclick="descanso();" style="border: solid;border-color: #5F9EA0; "/></td></tr>
<tr>


<td> <input type="text" name="login" id="login" class="edit" onfocus="apagaLoginOnFocus();" onblur="preencheLoginOnBlur();" value="Login"/></td>

</tr><tr>


<td><input type="text"  name="senha" class="edit" id="senha" onfocus="apagaSenhaOnFocus();" onblur="preencheSenhaOnBlur();" value="Senha"/></td>
</tr><tr>

<td align="center"><input type="submit" value="Entrar" class="botao-login" /></td>
</tr>
 
</table>
 
</form>
</c:if>
</p>	

</div>





  
  <div id="rodape">
    <div id="propaganda"style="visibility: hidden;" ><a href="http://apycom.com/">Apycom jQuery Menus</a></div>
	 <p align="center">Todos os direitos reservados 2011 (c) </p>
  </div>
  <div class="log">
  <div>

	

</div>
</div>

</div>
</body>
</html>







